package com.lanou.elh.members.mapper;

import com.lanou.elh.members.entity.Address;
import com.lanou.elh.members.entity.Member;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface MemberMapper {
    Member findMemberByUsername(Member member);

    void insertMember(Member member);

    void insertAddress(Address address);

    void deleteAddressByAddressId(Integer addressId);

    void updateAddress(Address address);

    void updateMember(Member member);
}
